<?php
class CommonController extends Controller{
	
	public function __construct(){
		parent::__construct();
		//定义路径常量
		if(!defined('__TEMPLATE__')){
			define('__TEMPLATE__', __ROOT__.'/template/'.C('index_tpl_style'));
			
		}
	}
	
	public function dis($tpl){
		$this->display('template/'.C('index_tpl_style').'/'.$tpl);
	}
	
	
	
	
}
